package cn.buildworld.touching.dao;

import cn.buildworld.touching.pojo.po.OsFavorite;
import cn.buildworld.touching.pojo.po.OsFavoriteExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OsFavoriteMapper {
    int countByExample(OsFavoriteExample example);

    int deleteByExample(OsFavoriteExample example);

    int deleteByPrimaryKey(Long favoriteId);

    int insert(OsFavorite record);

    int insertSelective(OsFavorite record);

    List<OsFavorite> selectByExample(OsFavoriteExample example);

    OsFavorite selectByPrimaryKey(Long favoriteId);

    int updateByExampleSelective(@Param("record") OsFavorite record, @Param("example") OsFavoriteExample example);

    int updateByExample(@Param("record") OsFavorite record, @Param("example") OsFavoriteExample example);

    int updateByPrimaryKeySelective(OsFavorite record);

    int updateByPrimaryKey(OsFavorite record);
}